package com.gosling.cloudspace.common.entity.dtos;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 还款计划
 *
 * @author lihonglin
 * @date 2023/10/11 10:46
 */
@Data
public class LoanPlanInfoVO {
    @ApiModelProperty("id")
    private Integer id;
    @ApiModelProperty("用户ID")
    private Integer userId;
    @ApiModelProperty("借款订单号")
    private String loanOrderNo;
    @ApiModelProperty("期数-第几期")
    private Integer periodsNum;

    @ApiModelProperty("当期还款状态")
    private String repayStatus;

    @ApiModelProperty("借款金额")
    private BigDecimal loanAmt;
    @ApiModelProperty("日利率")
    private BigDecimal dayRate;
    @ApiModelProperty("年利率")
    private BigDecimal yearRate;
    @ApiModelProperty("融担利率")
    private BigDecimal financingRate;
    @ApiModelProperty("剩余本金")
    private BigDecimal surplusPrincipalAmt;
    @ApiModelProperty("当期逾期天数")
    private Integer overdueDays;

    @ApiModelProperty("每月本息")
    private BigDecimal principalInterestAmt;
    @ApiModelProperty("总应还金额")
    private BigDecimal totalPayableAmt;
    @ApiModelProperty("当月应还金额")
    private BigDecimal payableAmt;
    @ApiModelProperty("当月应还罚息")
    private BigDecimal punishInterestRate;
    @ApiModelProperty("当月应还融担费")
    private BigDecimal payableFinancingAmt;
    @ApiModelProperty("当月应还本金")
    private BigDecimal payablePrincipalAmt;
    @ApiModelProperty("当月应还利息")
    private BigDecimal payableInterestAmt;
    @ApiModelProperty("当月应还日期")
    private LocalDate payableDate;
    @ApiModelProperty("实际借款时间")
    private LocalDate loanDate;
}
